Method for correction of relative object-detector motion between successive views

ABSTRACT

Motion correction for optical tomographic imaging in three dimensions. An object of interest is illuminated to produce an image. A lateral offset correction value is determined for the image. An axial offset correction value is determined for the image. The lateral offset correction value and the axial offset correction value are applied to the image to produce a corrected file image.

RELATED APPLICATIONS

This application is a continuation-in-part (CIP) of co-pending U.S. patent application Ser. No. 10/126,026, filed Apr. 19, 2002, of Nelson, entitled “Variable Motion Optical Tomography of Small Objects,” which is incorporated herein by this reference.

FIELD OF THE INVENTION

The present invention relates to imaging and, more particularly, to detection of and correction for relative object-detector motion in an imaging system where, typically, successive views from different positions are acquired, each view representing a two-dimensional projection or pseudo-projection of the three-dimensional object.

BACKGROUND OF THE INVENTION

An optical projection tomographic microscopy (OPTM) is suitable for high-resolution imaging of a microscopic object, such as a biological cell and its nucleus, which are embedded in a fluid medium and contained within a microcapillary tube having inner and outer diameters of 40 microns and 150 microns, respectively. An OPTM employs a plurality of views, each acquired by rotating the object and its containment vessel about an axis perpendicular to the optical axis and parallel to the axis of the microcapillary tube. A camera, having a CCD image sensor composed of an M×N array of pixels, captures the light after it has passed through the object and the imaging optics, which produce a magnified image of the field of view (FOV) on the CCD. Since each view is taken from a different perspective, the content of each view will differ from the others.

Owing to the extremely small sizes of the components, it can be quite difficult to position the axis of rotation (typically coincident with the central axis of the microcapillary tube) in the center of the detector's FOV. It is further very difficult to hold the microcapillary tube stationary while rotating it. In addition, the cell itself may move along the tube axis in between views. As a result, each view, which is already altered due to the tube rotation, can in addition be subject to translations both axial (parallel to the microcapillary axis) and lateral (perpendicular to the optical axis and to the tube axis). These lateral translations are in addition to those already present for objects that are not on the rotation axis.

In order to obtain an accurate 3D reconstruction, whether through filtered backprojection or other means, it is therefore necessary to correct for the axial motion and for that portion of the lateral motion that is not due to the changing perspective from one view to another. It is further necessary to determine where in the detector FOV the axis of rotation is located.

U.S. Pat. No. 4,858,128, to Nowak describes a method where consecutive scenes are correlated with one another, first in one axis and then, independently, in the other axis. The location of the maximum value for the two correlations determines the required offset for the two axes. The method described fails to provide means for distinguishing the “natural” lateral translation, due to the change in perspective, from the “erroneous” lateral translation, due to translation of the microcapillary tube. The Nowak patent teaches, “it may be useful to estimate such background component of the signal and to subtract the estimate from the image data.”

William H. Press et al., Numerical Recipes in C: The Art of Scientific Computing, Cambridge University Press; 2nd edition (Jan. 1, 1993) describe means for implementing, via a computer program, the techniques of cross-correlation between two arrays of data using fast Fourier transforms (FFTs). In brief, the cross-correlation of two data arrays (such as image data) can be obtained by applying an FFT to each array, multiplying one of the resulting arrays by the complex conjugate of the other, and applying an inverse FFT to the result.

In order to overcome current shortcomings in the state of the art, it is an objective of the present invention to provide a method for finding the location of the central axis of a microcapillary tube for each view in a multi-view imaging system. It is a further objective of the invention to provide a method for detecting relative object-detector motion between successive views in a multi-view imaging system. It is a further objective of the invention to provide a method for correcting image data to remove errors due to object motion during image data collection. It is a still further objective of the invention to provide an imaging system of a type producing a plurality of X-Y data matrices representing projection or pseudo-projection views of an object for subsequent tomographic reconstruction of axial slices of the object. The detected motion may be removed by suitably shifting later data to align it with earlier data, or vice versa.

SUMMARY OF THE INVENTION

The present invention provides an apparatus and method for registration correction for optical tomographic imaging in three dimensions. An object of interest is illuminated to produce an image. A lateral offset correction value is determined for the image. An axial offset correction value is determined for the image. The lateral offset correction value and the axial offset correction value are applied to the image to produce a corrected file image.

BRIEF DESCRIPTION OF THE DRAWINGS

While the novel features of the invention are set forth with particularity in the appended claims, the invention, both as to organization and content, will be better understood and appreciated, along with other objects and features thereof, from the following detailed description taken in conjunction with the drawings described hereinbelow.

FIG. 1 is a functional block diagram of an example embodiment of a method for correction of relative object-detector motion between successive views constructed in accordance with the teachings of the present invention.

FIG. 2 is a functional block diagram of a lateral correction portion of an imaging system employing the example embodiment described in FIG. 1.

FIG. 3 is a functional block diagram of an axial correction portion of an imaging system employing the example embodiment described in FIG. 1.

FIG. 4A depicts an image of a cell prior to thresholding operations that are employed in one example of the method of the present invention.

FIG. 4B depicts the result of applying thresholding operations that are employed in one example of the method of the present invention to the image shown in FIG. 4A.

FIG. 4C illustrates a histogram showing brightness distributions of the images shown in FIGS. 4A–4B.

FIG. 5 depicts schematically an optical projection tomographic microscopy (OPTM) system employed in one embodiment of the invention.

FIG. 6A and FIG. 6B show one embodiment of an optical tomography system incorporating a microscope objective lens mounted on a piezoelectric translation.

FIG. 7 shows an example flow diagram illustrating a process for acquiring images used in three-dimensional (3D) image reconstruction as contemplated by an embodiment of the present invention.

FIG. 8 shows schematically an example of motion correction offsets for use in a three-dimensional (3D) image reconstruction as contemplated by an embodiment of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The invention is described herein with respect to specific examples relating to biological cells, however, it will be understood that these examples are for the purpose of illustrating the principals of the invention, and that the invention is not so limited. Although the present invention may be employed in other types of imaging systems, such as, for example, X-ray computed tomography (CT) imaging, for concreteness of description the following disclosure is directed toward the invention in the environment of an optical projection tomographic microscopy (OPTM) system.

In the discussion that follows, the following assumptions are used when providing numerical examples:

1. Each image consists of an array, 640 pixels wide by 480 pixels high;

2. Each pixel contains a single 8-bit (gray level 0 to 255) brightness value;

3. With reference to an OPTM using a microcapillary tube, the tube axis is parallel to the shorter axis (480 pixels);

4. With reference to an OPTM using a microcapillary tube, the tube wall separation is 530 pixels;

5. The number of bins used in finding the lateral offset (B1) is 20;

6. The number of bins used in finding the axial offset (B2) is 2;

7. The array is zero-padded to 1024 by 1024 pixels.

It is to be understood that these numerical values are for illustrative purposes only; other numerical values may be employed without detracting from the nature of the invention.

Referring now to FIG. 1, a functional block diagram of an example embodiment of a method for correction of relative object-detector motion between successive views constructed in accordance with the teachings of the present invention is shown. In the example embodiment, an altered copy of each image is generated, in which the brightest pixels are reassigned a brightness level of zero, while all other pixels retain the same brightness as in the initial image. A two-dimensional (2D) FFT of this thresholded image is then multiplied, pixel-by-pixel, with the complex conjugate of the 2D FFT of a reference image. The brightness of the resulting array is then summed along each line parallel to the axis of the microcapillary tube (to be referred to henceforth as the Y axis) to develop a one-dimensional (1D) array containing information about the brightness pattern in the direction (to be referred to henceforth as the X axis) perpendicular to the optical axis and to the microcapillary axis. A 1D FFT is then applied, and the location of the maximum is determined. The location determines the amount of offset to be applied along the X axis in order to bring the image of the microcapillary tube's center axis to its desired position in the image.

The reference image takes advantage of the constancy of the separation between the walls of the microcapillary tube, and consists of two maximally bright lines separated by the known amount found in the acquired images; the rest of the reference image has zero brightness. The tube walls appear only faintly in the pseudo-projection images, as the refractive indices of the tube walls are matched with materials inside the tube and between the tube and the slide/coverslip assembly. The effect of the histogram operation is to enhance the contrast between the tube walls and the rest of the image. Using the pre-determined tube wall separation, in combination with the known number of pixels along the X axis of the image, makes it possible to distinguish the movement of the tube itself from the movement of the objects within the tube, due to the rotation of the tube and the consequent perspective change. By cross-correlating the two images based on a constant feature, our method minimizes the possibility of tracking the movements of changing features within the cell.

A cross-correlation method is used to determine the amount of the axial offset from the Y-axis. To do so, a copy of the original image is again thresholded, but using different criteria for determining which pixels are reset to zero brightness. A 2D FFT is applied to this image, and multiplied, pixel-by-pixel, with the complex conjugate of the 2D FFT of the thresholded image derived from the immediately preceding view. A 2D FFT is applied to the result, and the X-axis offset is determined as the maximum in the cross-correlation function along the line that corresponds to the difference in the lateral correction of the current image with that of the previous image. This is a distinction from previous methods, in that the X-axis is constrained by the Y-axis offset; it is not found independently of the Y-axis offset.

Unlike the lateral correction, the axial correction is an iterative process and thus is subject to cumulative errors. The axial cross-correlation functions effectively, however, as long as the change in perspective between consecutive images is not too large; this corresponds to small angular increments in the rotation. By keeping the angular increment small, the spatial content does not vary by much, allowing the cross-correlation to track similar features in each image. Since the angular increment also determines the lateral resolution of the 3D tomographic reconstruction, the requirement that the angular increment be kept small to allow the cross-correlation to work well is not an onerous one.

Briefly stated, this embodiment of the present invention removes the effects of axial and lateral movement by the microcapillary tube by suitably shifting subsequent images to align them with previous images, or vice versa. Cross-correlation methods are used to find the offset on the lateral axis, then on the tube axis, with the restriction that the peak correlation for the axial movement must come after the determination of the lateral movement.

The first step 111 is to generate the template image. Two white lines having, for example, a grayscale level of 65,535, are created at their ideal positions. Each line has a length of 480 pixels, running parallel to the short image dimension. The locations of the two lines are determined by the long image dimension (640 pixels) and the tube wall separation, empirically determined as 530 pixels. The first line is located at line 0 and the second line is located at line 530. In this embodiment, the size of the template image may be expanded from 640×480 to 1024×1024 to provide zero-padding in both dimensions; however, this action is not essential to the invention.

A 2D FFT is performed on the template image so that real and imaginary components are saved in alternating indices of the resulting array. Thus, for a zero-padded array, the array size is 2048×1024. The template image is now in a form ready for use.

At step 114 the lateral offset is found. In step 114, the image is thresholded in order to black out the background pixels, and then cross-correlated with the binary image of two bright lines. Images of interest are subject to the lateral offset determination 114. To assist in the axial correction, D_(LAT) is saved for each image as indicated in step 29.

Referring now to FIG. 2, a functional block diagram of a lateral correction portion of an imaging system employing the example embodiment described in FIG. 1 is shown. The steps involved in finding the lateral offset 114 include constructing a grayscale histogram of the image, where the number of bins (B1) may be set at any integer value from 2 to 255. For the present example, it is assumed that B1=20. The bin with the greatest number of pixels is found (except the first bin, corresponding to the darkest pixels), and all pixels in the original image having that bin's grayscale value or higher are set equal to zero in a copy of the original image. The effect of this procedure 21 is to remove the background pixels from further consideration in order to produce a thresholded image.

As an example, suppose the input image has minimum and maximum grayscale values of 31 and 190, respectively, so that each bin has a width of eight gray levels [(1+190+31)/20=8]. Now further suppose that peak in the histogram occurs at bin #16 (i.e., gray levels from 151 to 158). Then the thresholded image will be similar to the original image, except that all pixels with an initial gray level greater than 150 now have a gray level of zero.

FIGS. 4A–4C illustrate the effect of applying these steps 21 to an image. A visual comparison of an original image to a segmented image may be made with reference to FIG. 4A, which shows an example of a cell image prior to segmentation and thresholding, and then to FIG. 4B which shows an example of a segmented and thresholded cell image corresponding to the original image of FIG. 4A. FIG. 4C is a histogram of an example image showing a comparison of the grey levels of the original image and the image after thresholding is applied.

A 2D FFT is applied to the thresholded image 22, and its Fourier transform is multiplied 23 by the complex conjugate of the Fourier transform of the template image. The resulting array is summed 24 along each of the 640 rows to compute a new array, which is Fourier transformed (in 1D) 25 to find the cross-correlation of the rows of the thresholded image and the reference image. The maximum value of the 1D array is located 26 and evaluated 28. The position of the maximum is designated as D_(LAT) and its magnitude is designated as C_(MAX).

The necessary offset is determined by the difference between D_(LAT) and its ideal position of 55 [(640−530)/2=55]. Thus, for example, if D_(LAT)=63, then an upward shift of 8 pixels is necessary (63−55=8), while if D_(LAT)=41, then a downward shift of 14 pixels (55−14=14) is required.

The procedure 114 is repeated for all images in the data set. Note that each image is referenced to the same template, so there is no cumulative error. To assist in the axial correction, D_(LAT) is saved 29 for each image.

Referring now to FIG. 3, a functional block diagram of an axial correction portion of an imaging system employing the example embodiment described in FIG. 1 is shown. The axial correction 115 is performed on all images except the first. A copy of the input image is thresholded at step 31, and then cross-correlated with a thresholded copy of the previous image. The offset is determined as the maximum in the cross-correlation function along the line that corresponds to the difference in the lateral correction for the current perspective [D_(LAT)(N)] and the lateral correction for the immediately preceding perspective [D_(LAT)(N−1)]. Unlike the lateral correction 114, therefore, the axial correction 115 is an iterative process and thus is subject to cumulative errors.

A copy of the input image is thresholded 31 in the same manner as for the lateral correction, but in this case the number of bins in the histogram is B3. In the present example, B3=2. Thus, all pixels with a gray level greater than the mid-range gray level are set to zero, while those with lower gray levels retain their initial values. For example, an input image with minimum and maximum values of 31 and 190, respectively, will result in a thresholded image identical to the initial one, except that all pixels that were initially brighter than 110 are now zero.

Having thus blacked out the bright pixels, the thresholded image is Fourier-transformed in 2D 32. It is then filtered 33 to eliminate the smallest features, which may produce spurious peaks on the cross correlation. Only spatial frequencies up to 102 cycles/pixel, corresponding to feature sizes of ten pixels or less, are multiplied and pixels at higher spatial frequencies are set to zero. The resulting array is saved 34 as S_(N) and multiplied 35 by the complex conjugate of S_(N−1), obtained from the preceding image's thresholded copy. A 2D FFT is next applied to the resulting array to find the cross-correlation of the two consecutive, thresholded, low-pass-filtered images. The difference in the lateral offset between the two consecutive images [D_(LAT)(N)−D_(LAT)(N−1)] found from the lateral correction step 114 is necessary now, since it is incorrect to find the global maximum of the correlation array. Instead, a local maximum, F_(MAX), must be found in the row that corresponds to [D_(LAT)(N)−D_(LAT)(N−1)]. The column containing F_(MAX) is designated G_(MAX). If G_(MAX) is greater than half the padded image dimension (1024, in this example), then its value signifies a negative shift, relative to the preceding image, having a magnitude equal to the zero-padded dimension minus the value of G_(MAX). If G_(MAX) is less than half the zero-padded dimension, then the required shift, relative to the preceding image, is positive and equal to G_(MAX).

As an example, suppose D_(LAT)(N−1)=45, while D_(LAT)(N)=63. Then F_(MAX) will be found on row 18 of the correlation array (63−45=18). If F_(MAX), the maximum value of row 18, occurs in the fifth column, then G_(MAX)=5 and the image must be shifted five pixels to the left of the previous image. If the maximum occurs at row 1019 (G_(MAX)=1019), then the image must be shifted five pixels to the right (1024−1019=5) of the previous image, since 1019 is greater than 512.

After G_(MAX) is found, the value of the shift is added to the sum of all the previous axial offsets to determine D_(AXIAL), the cumulative difference from the first acquired image to the current image. The shift may be positive or negative; hence, some images may not require any axial shift. For each image, four values are written to a text file:

1. The position of the upper tube wall, D_(LAT);

2. C_(MAX), the maximum value of the cross-correlation between the current image and the reference image;

3. G_(MAX), the location of F_(MAX) on the appropriate row of the cross-correlation between the current image and the previous image (for the first image, G_(MAX)=0);

4. F_(MAX) (for the first image, F_(MAX)=0).

The corrected file is generated by cropping the appropriate number of pixels from one or two edges and shifting the remaining pixels by the number cropped. To maintain the original image dimensions (640×480), the spaces at the opposite edges from the cropped edges are replaced by pixels set to the maximum gray level of the original image.

For example, suppose that for one of the images, the maximum gray level is 229, D_(LAT)=63, D_(AXIAL)=29, and G_(MAX)=1022. Then the pixels in the top eight rows (63−55=8) and the left 27 columns (29−1024+1022=27) are deleted from the image. Thus the ninth row of column 28 occupies the upper left corner. Eight rows are added to the bottom of the image, and 28 columns are added to the right of the image; these pixels have gray levels of 229. When these procedures are complete, the 632×453-pixel region in the upper left of the corrected image is identical to the 632×453-pixel region in the lower right of the original image. Both images have dimensions of 640×480.

Another example embodiment incorporates only the axial correction 115 and the writing of the corrected image 116. This embodiment is useful when the walls of the microcapillary tube are not visible and the tube's lateral motion is known to be negligible

In yet another embodiment, the tube wall separation is calculated automatically from the first view (N=0). Otherwise it is identical to the embodiment described hereinabove with reference to FIGS. 1–3. In another embodiment of the invention, the separation of the tube walls is determined based on a calculation of their separation in one or more of the images. This is accomplished by using as a reference an image derived from a single bright line, as by a 2D FFT and a complex conjugation. The rows are summed, as in the first embodiment, and the location of the maximum is taken as the location of one wall of the tube relative to its location in the image from which the reference image was derived. The location of the next highest correlation value gives the location of the other tube wall, relative to the first. If desired, the search for this secondary maximum can be restricted to a range whose central location, relative to the first tube wall, is in the vicinity of the presumed tube width. This embodiment also encompasses the possibility of using the single-line reference for all the acquired viewpoints. Such an arrangement may be useful when the tube wall separation is not known, or when the tube's inner walls do not form a circle, as when the tube's inner profile is square is elliptical.

In another embodiment of the invention, the characteristics of the thresholding step may vary based on feedback from the correlation. Such iterative approaches may be employed in the first thresholding step for the lateral correction, in the second thresholding step for the axial correction, or in both. One characteristic that may be varied is the number of divisions or bins used in the histogram. Another characteristic that can be varied is the number of gray levels contained within each histogram bin. For example, the histogram may be based on the square root of the brightness level.

According to a feature of the invention, the output of the method is a cropped copy of the input file, with the uncropped portions shifted vertically and/or horizontally, and with additional blank pixels inserted at one or two of the borders to retain the input image size.

According to a further feature of the invention, the results of the method employed are saved to a digital file, which may be altered and edited using computer word-processing applications. The altered text file may then be used to generate the offsets in the two axes, thus bypassing many of the calculations described above. In this embodiment, the lateral correction procedure of steps 114 through 116 is iterated to find the maximum of C_(MAX). If C_(MAX) has a magnitude less than a critical value C_(CRIT), then the entire procedure is repeated, starting with the thresholding 27, but with the number of bins in the histogram changed from B1 to B2. C_(MAX) is again located 26 and evaluated 28.

Referring now to FIG. 5, there shown schematically is an example illustration of cells packed into a capillary tube as contemplated by an embodiment of the present invention. In this example embodiment, a section of the capillary tube 3 is filled with objects of interest 1, such as cells, that are packed rigidly into the tube. Each of the cells may include a nucleus 2. The capillary tube 3 has a central axis 4 oriented with reference to a coordinate system 6 having coordinates in the x, y and z-directions. In some instances, at least one molecular probe 153 may be bound within the cell. A computer 7 is coupled to provide control signals to a rotational motor 5 and a translational motor 8. It will be recognized that equivalent arrangements of one or more motors, gears or fluidics or other means of generating motion may also be employed to achieve the necessary translational and rotational motion of the capillary tube or other substrate. In some cases, one or more of the motors may be replaced by manual positioning devices or gears or by other means of generating motion such as hydraulic or piezoelectronic devices. The axis of translation is the z-axis, and rotation is around the z-axis. The positioning motor 9 is coupled to move the cell in a plane defined by the x, y-axes, substantially perpendicular to the central axis for the purpose of centration, as necessary.

It will be recognized that the curved surface of the capillary tube will act as a cylindrical lens and that this focusing effect may not be desirable in a projection system. Those skilled in the art will appreciate that the bending of photons by the tube can be eliminated if the spaces between the point source and the tube and between the tube and the detector surfaces are filled with a material 10 whose index of refraction matches that of the capillary tube and that the tube can be optically coupled (with oil or a gel, for example) to the space filling material.

Consider the present example of cells packed into a capillary tube. The cells may preferably be packed single file so that they do not overlap. The density of packing whole cells of about 100 microns in diameter into a capillary tube with diameter less than 100 microns can be roughly 100 cells per centimeter of tube length. For bare nuclei of about 20 microns in diameter, the packing can be roughly 500 nuclei per centimeter of tube length where the tube diameter is proportional to the object size, about 20 microns in this case. Thus, within several centimeters of capillary tube length, a few thousand non-overlapping bare nuclei can be packed. By translating the tube along its central axis 4, motion in the z-direction can be achieved. Moving the tube in the x, y-directions allows objects within the tube to be centered, as necessary, in the reconstruction cylinder of the optical tomography system. By rotating the tube around its central axis 4, a multiplicity of radial projection views can be produced. Moving the tube in the z-direction with constant velocity and no rotation simulates the special case of flow optical tomography.

One advantage of moving a tube filled with cells that are otherwise stationary inside the tube is that objects of interest can be stopped, then rotated, at speeds that permit nearly optimal exposure for optical tomography on a cell-by-cell basis. That is, the signal to noise ratio of the projection images can be improved to produce better images than may be usually produced at constant speeds and direction typical of flow systems. Objects that are not of interest can be moved out of the imaging system swiftly, so as to gain overall speed in analyzing cells of interest in a sample consisting of a multitude of cells. Additionally, the ability to stop on an object of interest, then rotate as needed for multiple projections, nearly eliminates motion artifacts. Still further, the motion system can be guided at submicron movements and can advantageously be applied in a manner that allows sampling of the cell at a resolution finer than that afforded by the pixel size of the detector. More particularly, the Nyquist sampling factor of 2 could be managed by the motion system moving in increments that fill half a pixel width, for example. Similarly, the motion system can compensate for the imperfect fill factor of the detector.

Referring now to FIG. 6A, there shown is a close-up view of a single specimen, as for example a single cell, immersed within a medium of optical indexing material. The single specimen is shown within a micro-capillary tube 3 (e.g. one such tube is manufactured by Polymicro Technologies, LLC., AZ, US) that can be rotated for taking multiple projections and an objective lens 40 that can be axially scanned is schematically shown. An illumination source includes a light source 50 that projects light through an aperture 51, a stop 52, and through a condenser lens 53 that is positioned before a microscope slide 54. A micro-capillary tube 3 holds a cell 1 between the slide and a thin coverslip 55. An objective lens 40, preferably an oil-immersion lens, is disposed to receive light passed through the micro-capillary tube 3. The objective lens is translated along the optical axis by an actuator 57 such as a piezoelectric element. The coverslip 55 must be thin enough so that the distance between the center of the micro-capillary tube and the outer surface of the coverslip is smaller than the working distance of the objective lens. The condenser lens 53 is within the index of refraction n, (e.g. air). The slide 54 and coverslip 55 have index of refraction n₂. A region 58 surrounding the micro-capillary tube 3 contains index-matching medium 15 such as optical gel or immersion oil, which has index of refraction n₃. The micro-capillary tube 3 itself has index of refraction n₄. The region 59 surrounding the cell 1 within the micro-capillary tube contains a medium 10 possessing an index of refraction n₅. A region 60 within the cell may be filled with the same medium 10, or may differ in its index of refraction n₆. It is preferred that n₃=n₄=n₅=n₆ (differences must be minimized) between the two flat parallel surfaces formed by slide 54 and coverslip 55 to avoid a cylindrical lens distortion. The image is projected onto a camera 43.

Referring now to FIG. 6A and FIG. 6B, one embodiment of an optical tomography system employed in the present invention, incorporating a microscope objective lens mounted on a piezoelectric translation device is schematically shown. The piezoelectric transducer 57 is used to move an objective lens 60 an axial distance of about 40 microns or more. In one useful embodiment, a micro-objective positioning system provides a suitable actuator 57, which is driven up and down along the z axis of tube coordinate system 6. In this embodiment, it may be used with a high numerical aperture objective, mounted on an standard transmission microscope 64 with a video camera 43 attached and a computer-controlled light source and condenser lens assembly 61. The computer-controlled condenser and light source 50 may advantageously be a light source including one or more incandescent bulbs, an arc lamp, a laser, or a light emitting diode. Computer control signals 70 are linked to the computer-controlled condenser and light source 50 for controlling light modulation.

The output from the camera 43 is stored in a computer memory 72. A microcapillary tube 3 containing the specimen can be translated along the x or y axes of tube coordinate system 6. In addition, the microcapillary tube 3 can be rotated about its “θ” axis 49, via a rotational motor 5 that can be computer-controlled. As used herein micro-capillary tube is defined as a capillary tube having a diameter where the field of view for microscopic imaging is comparable to the capillary tube diameter. In an example embodiment the rotational motor 5 is controlled by control signals 71 as provided by the computer 7. For high speed applications other controls may be added in order to reduce vibrations during an axial scan. The acquired image may be displayed on monitor 73.

Referring now to FIG. 7, an example flow diagram illustrating a process for acquiring images used in three-dimensional (3D) image reconstruction as contemplated by an embodiment of the present invention is shown. As contemplated by one example of the present invention, a 3D image reconstruction process includes the steps of loading the tube packed with cells at step 81, translating the tube until the first cell of interest has been located at step 82, centering the cell of interest, as necessary, at step 83, generating a set of projections at each different rotation angle at step 84, determining when the data set is complete at step 85, and repeating the process from steps 82 through 85 until all cells of interest have been scanned. At step 86 motion corrections are made. The process may be implemented in a computer software program executed by a personal computer such as computer 7, for example.

Referring now to FIG. 8, there shown schematically is an example of motion correction offsets for use in a three-dimensional (3D) image reconstruction as contemplated by an embodiment of the present invention. Motion correction is applied to find the lateral position of an object of interest 1, such as a cell or nucleus 2, contained in a capillary tube 3 having a capillary tube wall 62. The lateral offset is the error along the longer image dimension (640 pixels), perpendicular to the tube axis, Z. The axial offset is the error along the shorter image dimension (480 pixels), parallel to the tube axis Z. The object of interest 1 has a lateral position LP and an axial position AP. As images are acquired from various points of view, motion correction is applied in order to allow reconstruction of the object of interest with identical features maintained in the same plane in the various views.

EXAMPLE SOFTWARE CODE DESCRIPTION

Source Code

Below is the text of an example of source code for implementing one embodiment of the method of the invention for motion correction. The executable file (regcorr.exe) is built from two header files (rrahn.h and regcorr.h) and four C++ files (fileinfo.cpp, nr-fft.cpp, multiplycomplexvalues.cpp, and regcorr2.cpp), linked by project regcorr.ide. The project was compiled by Borland C++ 5.01, set for “Win32 Console” mode, and using the static class library framework. The executable file size is roughly 60 kB. (Programs, “regcorr.exe” and “regcorr_no_lateral.exe,” differ only in whether they provide the option of calculating the lateral offset and writing it to a text file. Both programs can also skip the calculations and instead read the offsets from a text file.)

The invention has been described herein in considerable detail in order to comply with the Patent Statutes and to provide those skilled in the art with the information needed to apply the novel principles of the present invention, and to construct and use such exemplary and specialized components as are required. However, it is to be understood that the invention may be carried out by specifically different equipment, and devices and reconstruction algorithms, and that various modifications, both as to the equipment details and operating procedures, may be accomplished without departing from the true spirit and scope of the present invention. 

1. A method for correction of relative object-detector motion between successive views comprising the steps of: illuminating an object of interest to produce an image using a current view and a preceding view, wherein the current view and the preceding view are successive views, each successive view being taken from a different perspective; determining a lateral offset correction value for the image for each of the current view and the preceding view; determining an axial offset correction value for the image by finding a maximum in a cross-correlation function along a line that corresponds to a difference in the lateral offset correction values for the two views; and applying the lateral offset correction value and the axial offset correction value to the image to produce a corrected file image.
 2. The method of claim 1, wherein the step of determining a lateral offset correction value for the image further comprises the steps of: thresholding the image; and cross-correlating the thresholded image with a template image.
 3. The method of claim 2, wherein the template image is created by a method comprising the steps of: creating at least two white lines at predetermined positions to form a preliminary template image; expanding the preliminary template image to provide zero-padding in two dimensions resulting in an expanded template image; and performing a two-dimensional FFT on the expanded template image to create the final template image.
 4. The method of claim 2, wherein the steps of thresholding the image and cross-correlating the image further comprise the steps of: finding the grayscale histogram of the image including a plurality of bins; identifying a bin with the greatest number of pixels; setting all pixels in the image having the identified bin's grayscale value or higher equal to zero in a copy of the image; applying a two-dimensional FFT to the copy of the image to produce a Fourier transform; multiplying the Fourier transform by a complex conjugate of the Fourier transform of the template image to produce a new image array; summing the new image array, along each of the plurality of rows to compute a lateral sum array; computing a one dimensional Fourier transform of the lateral sum array to find the cross-correlation of the rows of the copy of the original image and the template image; setting an uncorrected position of an image feature, at the location of the maximum value of the lateral sum array; and determining the lateral offset as the difference between the uncorrected position of the image feature and a predetermined position of the image feature.
 5. The method of claim 4, further comprising the step of repeating the steps of thresholding the image and cross-correlating the image with a different number of bins in the histogram, if the maximum value of the cross-correlation has a magnitude less than a predetermined value.
 6. The method of claim 4 wherein the image feature comprises a feature of a specimen container.
 7. The method of claim 1, wherein the step of determining an axial offset correction value for the image further comprises the steps of: thresholding a copy of the current view of the image to produce a thresholded version of the image; and cross-correlating the thresholded version of the image with a thresholded version of a previous image before determining an axial offset.
 8. The method of claim 1, wherein the step of determining an axial offset further comprises the steps of: finding the grayscale histogram of the current view of the image including a plurality of bins; identifying a peak bin with the greatest number of pixels; creating a thresholded image by setting all pixels in the current view of the image having the peak bin's grayscale value or higher equal to zero in a copy of the current view of the image; applying a low-pass filter to the thresholded image; computing a cross-correlation of the thresholded, low-pass filtered image with a preceding image's thresholded, low-pass filtered version; finding the maximum correction value in the row of the resultant cross-correlation that corresponds to the difference in the two images' lateral offsets; and adding the correction value to a sum of all previous axial offsets.
 9. The method of claim 1 further comprising the steps of: writing the value of the lateral offset into an electronic memory device; writing the value of the axial offset into an electronic memory device; and generating a corrected image by cropping a plurality of pixels from one or two edges, as determined from the lateral and axial offsets, and shifting the remaining pixels by the number of the cropped plurality of pixels.
 10. The method of claim 1, wherein the object of interest is a cell or a cell nucleus.
 11. The method of claim 1 further comprising the steps of producing a plurality of images to generate an input image file; and cropping a plurality of the input image file images to produce a cropped copy of the input image file, with uncropped portions shifted vertically and/or horizontally, and with additional blank pixels inserted at one or two of the borders to retain the input image file size.
 12. The method of claim 1 wherein the corrected file image comprises calculated offset values saved to a digital file.
 13. The method of claim 12 wherein the calculated offset values are processed using computer word-processing to produce an altered text file, and the altered text file is used to generate offsets in two axes, and wherein the step for determining a lateral offset correction value for the image is iterated to find a maximum value.
 14. The method of claim 12 wherein the calculated offset values comprise: a position of a maximum value of the cross-correlation between a current image and a template image; a maximum value of the cross-correlation between a current image and the template image; a location of a maximum correlation value on the corresponding row of a cross-correlation between the current image and the preceding image; and a maximum value of the cross-correlation between a current image and a preceding image.
 15. A method for correction of relative object-detector motion between successive views comprising the steps of: imaging an object of interest to produce an image; determining a lateral offset correction value for the image; determining an axial offset correction value for the image, wherein the step of determining an axial offset correction value for the image is performed by thresholding the image, cross-correlating the image with the thresholded version of a previous image, and determining the axial offset correction value as a maximum in the cross-correlation function along a line that corresponds to a difference in lateral corrections of the two images; and applying the lateral offset correction value and the axial offset correction value to the image to produce a corrected file image. 